package com.lemon.boot.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 李猛
 * @datetime 2024/5/29 16:28
 * @description Socket连接状态
 */
@Getter
@AllArgsConstructor
public enum SocketEnum {
    CONNECT(1, "Connected", "heartbeat", "已连接!"),

    BREAK(0, "Disconnect", "heartbeat", "断开连接");

    private final Integer value;//值
    private final String status;//状态
    private final String heartbeat;//心跳
    private final String info;//说明
}
